package edu.ynu.se.xiecheng.achitectureclass.entity;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.Where;

import javax.persistence.*;

@Entity
@Getter
@Setter
@Where(clause = "is_deleted = 0")
public class FoodType extends LogicEntity{


    @Lob
    @Column(name = "image", columnDefinition = "BLOB")
    private byte[] image;

    @Column
    private String typeName;
}
